package marcis.jarina.hibernate.services;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Honza
 * Date: 12.8.11
 * Time: 15:47
 * To change this template use File | Settings | File Templates.
 */
public interface CommonService<T> {

    void save(T archive);

    T load(Integer id);

    List<T> loadList(Map<String, Object> propertyFilter);

}
